var express = require('express');
var router = express.Router();


/**
 * 前台系统功能首页全部内容.
 * 显示全部内容
 */
router.get("/",function (req,res){
    
    res.render('./website/index', { title: '以物易物平台' });
})

router.get("/products",function (req,res){
    
    res.render('./website/products', { title: '以物易物平台' });
})
router.get("/household",function (req,res){
    
    res.render('./website/household', { title: '以物易物平台' });
})
router.get("/vegetables",function (req,res){
    
    res.render('./website/vegetables', { title: '以物易物平台' });
})
router.get("/kitchen",function (req,res){
    
    res.render('./website/kitchen', { title: '以物易物平台' });
})
router.get("/short-codes",function (req,res){
    
    res.render('./website/short-codes', { title: '以物易物平台' });
})
router.get("/drinks",function (req,res){
    
    res.render('./website/drinks', { title: '以物易物平台' });
})
router.get("/pet",function (req,res){
    
    res.render('./website/pet', { title: '以物易物平台' });
})
router.get("/frozen",function (req,res){
    
    res.render('./website/frozen', { title: '以物易物平台' });
})
router.get("/bread",function (req,res){
    
    res.render('./website/bread', { title: '以物易物平台' });
})
router.get("/login",function (req,res){
    
    res.render('./website/login', { title: '以物易物平台' });
})
router.get("/mail",function (req,res){
    
    res.render('./website/mail', { title: '以物易物平台' });
})
router.get("/events",function (req,res){
    
    res.render('./website/events', { title: '以物易物平台' });
})
router.get("/about",function (req,res){
    
    res.render('./website/about', { title: '以物易物平台' });
})
router.get("/services",function (req,res){
    
    res.render('./website/services', { title: '以物易物平台' });
})

module.exports = router;